Target menu

The commands that are described below apply to the Target menu in the

- Project Editor
- Source Editor
- Shell

You can use the Target menu to issue make commands or run and debug executables. The commands and targets that are executed and made in this menu are specified in the Project Attributes. See also Build Options view.

Target menu command | Description
Make File objectfile | Spawns a Shell and issues make objectfile in the source directory of the project. objectfile is the object file of the selected source file.
Recursively Make target | Spawns a Shell and recursively starts make for all the subprojects for which make support files are generated. Finally, make for the default target of the root project is called. SNiFF+ generates Make support files for projects whose Generate Make Support Files attribute is enabled. You can enable this attribute in the Build Options view of the Project Attributes dialog. To learn about a project's default target, please refer to Specifying the targets of a project.
Update Makefiles | Updates the make support files of all the projects in the Project Tree. There are three types of make support files: dependency file, macros file and include file. See also Build Options view.
Make target | Spawns a Shell tool and issues make target in the source directory of the project. target is the default target of the project.
Make Submenu | The Make... submenu contains the targets entered in the Project Attributes dialog. A separator line separates helping targets from project targets. You can build the individual targets of the project by choosing the appropriate entry. The Make all command works in conjunction with SNiFF+'s Make Support feature. See also Building targets recursively.
Run target | Spawns a Shell tool and executes the default target of the project. When you execute this command, a Program Arguments dialog appears. You can enter arguments for the run command in this dialog.
Debug target | Starts the debugger and loads the target executable. This entry is only enabled when you have entered the target name in the Make view of the Project Attributes dialog and the target is executable. See also Build Options view.
Target Dialog... | Opens the Target dialog, in which you can choose a target from the list of all the targets in the Project Tree.